home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 April / Macworld (1999-04).dmg / Serious Software / Katabounga demo / Katabounga / Katabounga US 2.08 / Katabounga US 2.08.rsrc / TEXT_500_Variables prÈdÈfinies.txt < prev    next >
Text File  |  1998-12-16  |  2KB  |  85 lines

  1. Booleans
  2.  
  3. Macintosh
  4. Windows
  5. WWW
  6.  
  7. When deciding upon which platform the scenario should be executed.
  8.  
  9. IF Macintosh
  10.     SoundStart Hello_world
  11. ELSE
  12.     SoundStart Mistake
  13. END
  14.  
  15.  
  16.  
  17. Button
  18.  
  19. When deciding if the mouse button is pressed or not.
  20. IF Button
  21.     The button is presssed
  22. ELSE
  23.     The button is released
  24. END
  25.  
  26. Numerics
  27.  
  28. SceneWidth
  29. SceneHeigth
  30. Scenario width and height.
  31.  
  32. MouseH
  33. MouseV
  34. Actual coordinates based on the mouse in the scenario window.
  35.  
  36. MoveObject MySelf,MouseH-20,MouseV-20
  37.  
  38. DeltaH (_Delta_H in the Beta scenario before 2508)
  39. DeltaV (_Delta_V in the Beta scenario before 2508)
  40. These two coordinates (in pixels) are variables that can be read once the mouse have moved an object.
  41. They are automatically opened by Katabounga if an object is moved WITH LIMITED OBJECT.  
  42. If no limited object is defined, these values are undefined (no values).
  43.  
  44.  
  45. Random (Random in the Beta scenario beofre 2508)
  46. This predefined varaible contains a random variable between 0 and 255.
  47.  
  48. ScreenTime (_ScreenTime in the Beta scenario before 2508)
  49. SceneTime (_TimeScenario in the Beta scenario before 2508)
  50. Back in time (in seconds) from the current screen or from the scenario.
  51.  
  52.  
  53. The texts
  54.  
  55. ScreenName
  56. Current screen name.
  57.  
  58. FolderName
  59. The name of the sequence in which the script is located.  This is if the script is in an object, which is in a screen within a sequence.
  60.  
  61.  
  62. MyName
  63. Name of the object upon which the script is located.  Undefined if the script is elsewhere than on an object.
  64.  
  65.  
  66. The objects
  67.  
  68. MySelf
  69. Defines the object upon which the script is found.  It refers to the object "My self".
  70. This expression can be used each time the object containing the script command is specified. 
  71.  
  72. SizeObject MySelf,100,100
  73.  
  74. .left
  75. .top    
  76. .right
  77. .bottom
  78. These suffixes define the object's coordinates. 
  79.  
  80. MoveObject Image,Image.left+10,Image.Top+20
  81.  
  82.  
  83.  
  84.  
  85.